import { navbar } from "vuepress-theme-hope";

export default navbar([
  "/",
  {
    text: "Vue 教程",
    link: "/what-is-vue/"
  },
  {
    text: "组件间通信",
    prefix: "/component-communication/",
    children: [
      {
        text: "本部分文档说明",
        link: ""
      },
      {
        text: "Vue 2",
        prefix: "vue-2/",
        children: [
          {text: "props", link: "props/"}
        ]
      },
      {
        text: "Vue 3",
        prefix: "vue-3/",
        children: [
          {text: "props", link: "props/"}
        ]
      },
    ]
  },
]);
